home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1897 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  1.6 KB  |  54 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 40 && _root.range == true)
  5.       {
  6.          _root.next_dis1 = 2;
  7.          _root.next_txt1 = "Hey, that\'s a great idea.  I\'ll have a girlfriend in no time...  in JAIL!  ARE YOU NUTS?";
  8.       }
  9.       else if(_root.micon._currentframe == 41 && _root.range == true)
  10.       {
  11.          _root.next_dis1 = 2;
  12.          _root.next_txt1 = "I don\'t think I want to make Susan cry.";
  13.       }
  14.       if(_root.micon._currentframe == 1 && _root.range == true)
  15.       {
  16.          _root.next_dis1 = 2;
  17.          if(_root.taken52 == 1)
  18.          {
  19.             _root.next_txt1 = "No I might ruin my chances with her.";
  20.          }
  21.          else
  22.          {
  23.             _root.next_txt1 = "Maybe I should sort out the mouse problem first.";
  24.          }
  25.       }
  26.       if(_root.micon._currentframe == 2)
  27.       {
  28.          _root.next_dis1 = 2;
  29.          if(_root.taken52 == 1)
  30.          {
  31.             _root.next_txt1 = "That\'s Susan ms. Bates\' niece.";
  32.          }
  33.          else
  34.          {
  35.             _root.next_txt1 = "Maybe I should sort out the mouse problem first.";
  36.          }
  37.       }
  38.       if(_root.micon._currentframe == 4 && _root.range == true && _root.txt_number <= 1)
  39.       {
  40.          if(_root.taken52 == 1)
  41.          {
  42.             _root.next_dis1 = 14;
  43.             _root.di1 = 460;
  44.             _root.next_txt1 = "IΓÇÖm really looking forward to the dance tonight.";
  45.          }
  46.          else
  47.          {
  48.             _root.next_dis1 = 2;
  49.             _root.next_txt1 = "Maybe I should sort out the mouse problem first.";
  50.          }
  51.       }
  52.    }
  53. }
  54.